package com.lanjiyin.cloud.api.entity;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 题库分类表
 * 
 * @author tudaojun
 * @email 1208386700@qq.com
 * @date 2021-07-19 13:22:54
 */
@ApiModel(value = "题库分类表")
@Data
@Table(name = "ljy_passport_tiku_classify")
public class PassportTikuClassify implements Serializable {
	private static final long serialVersionUID = 1L;
	
	   
    @ApiModelProperty(value = "主键id")
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    
			    
    @ApiModelProperty(value = "短的分类名称(列表展示)")
    @Column(name = "short_title")
    private String short_title;
				    
    @ApiModelProperty(value = "分类名称（我的题库展示）")
    @Column(name = "title")
    private String title;
				    
    @ApiModelProperty(value = "排序")
    @Column(name = "sort")
    private Integer sort;
				    
    @ApiModelProperty(value = "父级id")
    @Column(name = "p_id")
    private Integer p_id;
				    
    @ApiModelProperty(value = "所有父级id集合，以逗号分割")
    @Column(name = "p_ids")
    private String p_ids;
				    
    @ApiModelProperty(value = "0：普通 1热门  2：推荐")
    @Column(name = "type")
    private Integer type;
				    
    @ApiModelProperty(value = "所有广告id集合，以逗号分割")
    @Column(name = "banner_ids")
    private String banner_ids;
				    
    @ApiModelProperty(value = "1-14接口文档有标识")
    @Column(name = "banner_type")
    private Integer banner_type;
				    
    @ApiModelProperty(value = "小程序可查看题数")
    @Column(name = "wechat_look_num")
    private Integer wechat_look_num;
				    
    @ApiModelProperty(value = "小程序需解锁数")
    @Column(name = "wechat_unlock_num")
    private Integer wechat_unlock_num;
				    
    @ApiModelProperty(value = "题库首页的Tab json ")
    @Column(name = "question_tab")
    private String question_tab;
				    
    @ApiModelProperty(value = "是否有论坛 0:否  1：有论坛 ")
    @Column(name = "is_forum")
    private Integer is_forum;
				    
    @ApiModelProperty(value = "院校是否有搜索 0:否  1：有搜索 ")
    @Column(name = "school_is_search")
    private Integer school_is_search;
				    
    @ApiModelProperty(value = "app_id")
    @Column(name = "app_id")
    private String app_id;
				    
    @ApiModelProperty(value = "app_type")
    @Column(name = "app_type")
    private String app_type;
				    
    @ApiModelProperty(value = "是否有课程（1：有课程  0：无课程）")
    @Column(name = "is_im_vod")
    private Integer is_im_vod;
				    
    @ApiModelProperty(value = "签名串")
    @Column(name = "sign_string")
    private String sign_string;
				    
    @ApiModelProperty(value = "手机号加密串前缀")
    @Column(name = "encry_prefix")
    private String encry_prefix;
				    
    @ApiModelProperty(value = "用户资料字段 例：user_name||sex||year")
    @Column(name = "user_profile")
    private String user_profile;
				    
    @ApiModelProperty(value = "随机组题筛选的题型 ")
    @Column(name = "rand_question_type")
    private String rand_question_type;
				    
    @ApiModelProperty(value = "新考点还原名称[九版]")
    @Column(name = "recovery")
    private String recovery;
				    
    @ApiModelProperty(value = "旧考点还原名称[八版]")
    @Column(name = "restoren")
    private String restoren;
				    
    @ApiModelProperty(value = "是否筛选病例视频 0:否  1：是 ")
    @Column(name = "is_case_vod")
    private Integer is_case_vod;
				    
    @ApiModelProperty(value = "年份章节是否是整套题 0 不是，1：是 ")
    @Column(name = "is_complete_questions")
    private Integer is_complete_questions;
				    
    @ApiModelProperty(value = "是否是真题视频 0 不是，1：是 ")
    @Column(name = "is_real_question")
    private Integer is_real_question;
				    
    @ApiModelProperty(value = "是否筛选年份 （1：是  0：否）")
    @Column(name = "is_year")
    private Integer is_year;
				    
    @ApiModelProperty(value = "是否显示题单（1：显示  0：不显示）")
    @Column(name = "is_show_sheet")
    private Integer is_show_sheet;
				    
    @ApiModelProperty(value = "是否是院校单独请求接口 0 不是，1：是 ")
    @Column(name = "is_school_alone_request")
    private Integer is_school_alone_request;
				    
    @ApiModelProperty(value = "随机组题题量")
    @Column(name = "rand_question_num")
    private String rand_question_num;
				    
    @ApiModelProperty(value = "解析是否允许复制（0：不允许  1:允许）")
    @Column(name = "is_analysis_copy")
    private Integer is_analysis_copy;
				    
    @ApiModelProperty(value = "是否为考研题库（0：否  1:是）")
    @Column(name = "is_kaoyan")
    private Integer is_kaoyan;
				    
    @ApiModelProperty(value = "状态 1正常 2：禁用")
    @Column(name = "status")
    private Integer status;
				    
    @ApiModelProperty(value = "课程分类ID")
    @Column(name = "im_big_cate_id")
    private Integer im_big_cate_id;
				    
    @ApiModelProperty(value = "是否允许显示导出 （1:是  0：否）")
    @Column(name = "is_export")
    private Integer is_export;
				    
    @ApiModelProperty(value = "是否可用机构码（1：是  0：否）")
    @Column(name = "is_instit")
    private Integer is_instit;
				    
    @ApiModelProperty(value = "机构码解锁商品属性")
    @Column(name = "service_id")
    private String service_id;
				    
    @ApiModelProperty(value = "bundle_id 显示题库")
    @Column(name = "bundle_id")
    private String bundle_id;
				    
    @ApiModelProperty(value = "根据题库 一对多显示课程分类")
    @Column(name = "vod_classify_id")
    private String vod_classify_id;
					
    @ApiModelProperty(value = "")
    @Column(name = "update_at")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date update_at;
    				
    @ApiModelProperty(value = "")
    @Column(name = "create_at")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date create_at;
    	
}
